package cate.game.play.buff.h;

import cate.game.play.buff.BuffHandler;
import cate.game.play.config.PlayCfgArgs;
import cate.game.play.fighter.Fighter;
import cate.game.play.proce.action.ctx.ActionCtx;

/**
 * 携带【水晶印记】的队友死亡，则提升马卡龙15%治疗能力
 */
public class 水晶印记BH extends BuffHandler {

	private int 属性buff;

	//属性buff=??
	@Override
	public void parse(String code) {
		PlayCfgArgs args = new PlayCfgArgs(code);
		属性buff = args.getInt("属性buff");
	}

	@Override
	public void onDead(ActionCtx action, Fighter killer) {
		buff.caster.buff.tryAddByTid(action, 属性buff);
	}
}
